#define _CRT_SECURE_NO_WARNINGS 1
#include"SList.h"
void text1()
{
	SListNode* slist = NULL;
	SLTPushBack(&slist, 1);
	SLTPushBack(&slist, 2);
	SLTPushBack(&slist, 3);
	SLTPushBack(&slist, 4);
	SLTPrint(slist);
	SLTPushFront(&slist, 0);
	SLTPrint(slist);
	SLTPopBack(&slist);
	SLTPrint(slist);
	SLTPopFront(&slist);
	SLTPrint(slist);
	SListNode* find = SLTFind(slist, 2);
	//SLTInsert(&slist, find, 9);
	//SLTInsertAfter(find, 9);
	//SLTErase(&slist, find);
	SLTEraseAfter(find);

	SLTPrint(slist);
}

int main()
{
	text1();
	return 0;
}